package com.bmf.module.examination.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bmf.module.examination.entity.SelectionStrategy;
import com.bmf.module.examination.vo.SelectionStrategyCreateVo;
import com.bmf.module.examination.vo.SelectionStrategyResultVo;
import com.bmf.module.examination.vo.SelectionStrategyUpdateVo;

import java.util.List;
import java.util.Map;


/**
 * (SelectionStrategy)表服务接口
 *
 * @author makejava
 * @since 2022-12-01 15:20:35
 */
public interface SelectionStrategyService extends IService<SelectionStrategy> {

    Integer insert(SelectionStrategyCreateVo selectionStrategyCreateVo);

    void update(SelectionStrategyUpdateVo selectionStrategyUpdateVo);

    Map<Integer, List<SelectionStrategyResultVo>> getSelectionStrategyList(List<Integer> bigQuestionIds);

    Map<String,List<SelectionStrategyResultVo>> select(List<Integer> ids);

    void delete(List<Long> ids);

    void updateScoreByBigQuestionId(Integer id, Double score);

    List<SelectionStrategy> getByExaminationIds(List<Integer> ids);

    void deleteByExaminationIds(List<Integer> ids);
}
